package ro.qi.framework.sys.i18n.locales.entities;

import ro.qi.framework.sys.entities.Entity;

public class LocaleCollection extends Entity {

	public LocaleCollection() {
		super();
		select();
	}

	public int getCollectionSize() {
		return getCollectionSize("locales");
	}

	public int getId(int index) {
		return getCollectionIntValue("locales", "id", index);
	}

	public Locale getLocale(int index) {
		return new Locale(getId(index));
	}

}
